package com.lening.iot.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lening.common.base.BaseServiceImpl;
import com.lening.iot.dao.IndataDAO;
import com.lening.iot.dto.IndataDTO;
import com.lening.iot.dto.InreadDTO;
import com.lening.iot.po.IndataPO;
import com.lening.iot.service.IndataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ToDo:
 * @Author：李忠达
 * @date: 2024/6/4 11:59
 */
@Service
public class IndataServiceImpl extends BaseServiceImpl<IndataDAO, IndataPO, IndataDTO> implements IndataService{
    @Autowired(required = false)
    private IndataDAO indataDAO;
    @Override
    public Page<IndataDTO> getAllInd(Page<IndataDTO> indataDTOPage) {
        Page<IndataDTO> idList = indataDAO.getAllInd(indataDTOPage);
        return idList;
    }



    @Override
    public Page<?> page(IndataDTO indataDTO) {
        return indataDAO.getAllInd(indataDTO);
    }


}
